package com.zzyl.service;

import com.zzyl.base.PageResponse;
import com.zzyl.dto.RoleDto;
import com.zzyl.vo.RoleVo;

import java.util.List;

public interface RoleService {
    PageResponse<RoleVo> selectByPage(RoleDto roleDto, Integer pageNum, Integer pageSize);

    List<RoleVo> selectList();

    Boolean addRole(RoleDto roleDto);

    Boolean updateRole(RoleDto roleDto);

    List<String> findCheckedResourcesByRoleId(Long roleId);

    void deleteRole(String roleId);
}
